<template>
    <div class="commonBtn" @click="handleLogin"> 
        <span>
          {{loginName}}
        </span>
      </div>
</template>

<script>
export default {
    props: {
      loginName: {
        type: String
      }
    },
    methods: {
      handleLogin () {
        this.$emit('handleLogin', this.loginName)
      },
      
    }
}
</script>

<style lang="scss" scoped>

</style>